﻿using System.Collections.Generic;
using UnityEngine;

namespace GFTest
{
    public class UIEffectParticle : MonoBehaviour
    {
        [SerializeField]
        private List<GameObject> m_ParticleList;

        public void SetScale(float scale)
        {
            foreach (GameObject go in m_ParticleList)
            {
                go.transform.SetLocalScaleX(scale);
                go.transform.SetLocalScaleY(scale);
                go.transform.SetLocalScaleZ(scale);
            }
        }
    }
}
